package com.glory.cqaospda.bean;

import java.io.Serializable;
import java.util.ArrayList;

public class SpotCheckInfoBean {
    private String equipmentname;
    private ArrayList<ProCheckList> prochecklist;

    public String getEquipmentname() {
        return equipmentname == null ? "" : equipmentname;
    }

    public ArrayList<ProCheckList> getProchecklist() {
        if (prochecklist == null) {
            return new ArrayList<>();
        }
        return prochecklist;
    }

    public void setEquipmentname(String equipmentname) {
        this.equipmentname = equipmentname;
    }

    public void setProchecklist(ArrayList<ProCheckList> prochecklist) {
        this.prochecklist = prochecklist;
    }

    @Override
    public String toString() {
        return "SpotCheckInfoBean{" +
                "equipmentname='" + equipmentname + '\'' +
                ", prochecklist=" + prochecklist +
                '}';
    }

    public static class ProCheckList implements Serializable {
        private String order_id;
        private String lotid;
        private String checktype;
        private String buyoff_type;
        private String checkcount;
        private String equipmentname;

        public String getEquipmentname() {
            return equipmentname == null ? "" : equipmentname;
        }

        public void setEquipmentname(String equipmentname) {
            this.equipmentname = equipmentname;
        }

        public String getCheckcount() {
            return checkcount == null ? "" : checkcount;
        }

        public void setCheckcount(String checkcount) {
            this.checkcount = checkcount;
        }

        public String getOrder_id() {
            return order_id == null ? "" : order_id;
        }

        public String getLotid() {
            return lotid == null ? "" : lotid;
        }

        public String getChecktype() {
            return checktype == null ? "" : checktype;
        }

        public String getBuyoff_type() {
            return buyoff_type == null ? "" : buyoff_type;
        }

        public void setOrder_id(String order_id) {
            this.order_id = order_id;
        }

        public void setLotid(String lotid) {
            this.lotid = lotid;
        }

        public void setChecktype(String checktype) {
            this.checktype = checktype;
        }

        public void setBuyoff_type(String buyoff_type) {
            this.buyoff_type = buyoff_type;
        }

        @Override
        public String toString() {
            return "ProCheckList{" +
                    "order_id='" + order_id + '\'' +
                    ", lotid='" + lotid + '\'' +
                    ", checktype='" + checktype + '\'' +
                    ", buyoff_type='" + buyoff_type + '\'' +
                    ", checkcount='" + checkcount + '\'' +
                    '}';
        }
    }
}
